<template>
	<el-row style="height:100%">
		<el-col :span="24" style="padding:10px;border: 1px solid #bfcbd9">
			<el-row>
				<el-form :inline="true">
					<!--<el-form-item>
						<el-date-picker style="width: 120px;" size="small" v-model="startDate" type="date" placeholder="选择日期" :picker-options="pickerOptions0">
						</el-date-picker>
					</el-form-item>
					<el-form-item>
						<el-date-picker style="width: 120px;" size="small" v-model="endDate" type="date" placeholder="选择日期" :picker-options="pickerOptions0">
						</el-date-picker>
					</el-form-item>-->
					<!--<el-form-item>
						<el-select style="width: 120px;" size="small" v-model="searchForm.isFinsih" placeholder="项目状态">
							<el-option label="未完成" :value="0">
							</el-option>
							<el-option label="已完成" :value="1">
							</el-option>
						</el-select>
					</el-form-item>-->
					<el-form-item>
						<el-input style="width: 120px;" size="small" v-model="searchForm.projectName" placeholder="关键字搜索"></el-input>
					</el-form-item>
					<el-form-item>
						<el-input style="width: 120px;" size="small" v-model="searchForm.projectName" placeholder="关键字搜索"></el-input>
					</el-form-item>
					<el-form-item>
						<el-button size="small" type="primary" @click="handleSerch" icon="search">查询</el-button>
					</el-form-item>
					<el-form-item>
						<el-button size="small" type="primary" @click="handleAdd" icon="search">新建项目</el-button>
						<!--<el-button size="small" type="primary" @click="handleView" icon="search">查看详情</el-button>-->
					</el-form-item>
				</el-form>
				<!--<div style="margin-top: 10px;">
					<el-tree :data="typeList" :props="defaultProps" node-key="id" :expand-on-click-node="false" :render-content="renderContent" class="treeDivs">
					</el-tree>
				</div>-->
			</el-row>
			<el-dialog title="品牌信息" size="tiny" :visible.sync="showAdd">
				<el-form ref="form" :model="form" label-width="80px">
					<el-form-item label="品牌名称">
						<el-row :gutter="20">
							<el-col :span="20">
								<el-input v-model="form.name"></el-input>
							</el-col>
						</el-row>
					</el-form-item>
					<el-form-item label="品牌描述">
						<el-row :gutter="20">
							<el-col :span="20">
								<el-input :rows="5" type="textarea" v-model="form.code"></el-input>
							</el-col>
						</el-row>
					</el-form-item>
					<el-form-item label="是否推荐">
						<el-row :gutter="20">
							<el-col :span="20">
								<el-select v-model="form.isHot" placeholder="请选择">
									<el-option v-for="item in hotList" :key="item.value" :label="item.name" :value="item.value">
									</el-option>
								</el-select>
							</el-col>
						</el-row>
					</el-form-item>
					<el-form-item label="品牌地址">
						<el-row :gutter="20">
							<el-col :span="20">
								<el-input v-model="form.address"></el-input>
							</el-col>
						</el-row>
					</el-form-item>
					<el-form-item label="排序">
						<el-row :gutter="20">
							<el-col :span="20">
								<el-input v-model="form.sort"></el-input>
							</el-col>
						</el-row>
					</el-form-item>
					<el-form-item>
						<div style="text-align: center;margin-top: 10px;">
							<el-button type="primary" @click="doAdd">确定</el-button>
							<el-button>取消</el-button>
						</div>
					</el-form-item>
				</el-form>
			</el-dialog>
		</el-col>
	</el-row>
</template>
<script>
    import {
		
	} from '../../api/api'
  	
//	const coordtransform = KIT_Coordtransform.createNew();
	export default{
		components: {
			
		},
		data () {
			return {
				searchForm:{},
				showAdd:false,
				form:{},
				hotList:[{
					value:1,
					name:"是"
				},{
					value:0,
					name:"否"
				}]
			}
		},
		methods: {
			doAdd(){
				
			}
		},
		mounted(){
			
		}
	}
</script>

<style lang="scss">
	
</style>
